<html>
<head><meta charset="utf-8"><title>invalid enum tag while decoding · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html">invalid enum tag while decoding</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241691559"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241691559" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241691559">(Jun 06 2021 at 13:19)</a>:</h4>
<p>I just got a following ICE when building rustc: <a href="https://paste.rs/90o">https://paste.rs/90o</a></p>
<p>I had just successfully managed to run the <code>ui</code> test suite and later changed capitalization of some strings before rebuilding. No changes to metadata reading code or anything, but I am working with target code.</p>
<p>Not running incremental AFAICT. Is there anything I could preserve or look into? This is yesterday's master (4e20754629c)</p>



<a name="241691692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241691692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241691692">(Jun 06 2021 at 13:22)</a>:</h4>
<p>That seems to be corrupted metadata.</p>



<a name="241693111"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241693111" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241693111">(Jun 06 2021 at 13:56)</a>:</h4>
<p>Yeah, but is there anything useful I can investigate to figure out why the corruption occurred? My filesystem is checksummed, and I believe my memory is stable(-ish) too, and I haven't been making any changes to the code that could cause invalid metadata to be written out either...</p>



<a name="241693156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241693156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241693156">(Jun 06 2021 at 13:58)</a>:</h4>
<p>/me does <code>mv build build_ice</code> and resigns to a LLVM rebuild.</p>



<a name="241694664"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241694664" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241694664">(Jun 06 2021 at 14:33)</a>:</h4>
<p><span class="user-mention" data-user-id="123586">@nagisa</span> are you changing llvm? If not you can set download-ci-llvm</p>



<a name="241695487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241695487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241695487">(Jun 06 2021 at 14:55)</a>:</h4>
<p>Not this time around, but I tend to get very little use from that option as I do tend to fiddle in LLVM often ^^</p>



<a name="241695535"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241695535" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241695535">(Jun 06 2021 at 14:56)</a>:</h4>
<p>and I don't particularly love changing config.toml</p>



<a name="241697112"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/invalid%20enum%20tag%20while%20decoding/near/241697112" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/invalid.20enum.20tag.20while.20decoding.html#241697112">(Jun 06 2021 at 15:37)</a>:</h4>
<p>Hmm, I wonder if it would be helpful to add an if-unchanged option like there is for download-rustc, then you wouldn't have to change it even if you starting modifying llvm</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>